import request from '@/utils/request'


// 获取当前用户详细信息
export function getUserInfo() {
  return request({
    url: '/userTest/getUserInfo',
    method: 'get'
  })
}

// 获取用户的配置信息
export function getUserDetail(userId) {
  return request({
    url: '/userTest/getUserDetail?userId=' + userId,
    method: 'get'
  })
}

// 修改当前用户信息
export function updateUser(userTestEntity) {
  return request({
    url: '/userTest/updateUser',
    method: 'post',
    data: userTestEntity
  })
}

